Platform Explorer / Nuxeo Platform 2023.23

Component org.nuxeo.ecm.platform.preview.widgets

Resolution Order

704
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.widgets">

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="documentPreview">
      <configuration>
        <sinceVersion>6.0</sinceVersion>
        <title>Document Preview</title>
        <description>
          <p>This widget type displays the document preview.</p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <defaultConfiguration>
            <field>data</field>
          </defaultConfiguration>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/document_preview_widget.xhtml
      </property>
    </widgetType>

  </extension>

</component>